package com.jinmdz.fmis.dao.model.recactualitem;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author GaoXiangLiang
 * @date 2020/6/12 16:55
 */
public class RecActualItem extends BaseBean {
    /**
     * 实际使用物品主键
     */
    @ApiModelProperty(value = "随车物品主键", name = "id", position = 1)
    private Integer id;
    /**
     * 接运外键
     */
    @ApiModelProperty(value = "接运外键", name = "recId", position = 2)
    private Integer recId;

    /**
     * 服务项目外键
     */
    @ApiModelProperty(value = "服务项目外键", name = "serviceItemId", position = 3)
    private Integer serviceItemId;

    /**
     * 项目价格
     */
    @ApiModelProperty(value = "项目价格", name = "itemPrice", position = 4)
    private BigDecimal itemPrice;

    /**
     * 项目数量
     */
    @ApiModelProperty(value = "项目数量", name = "itemNumber", position = 5)
    private BigDecimal itemNumber;

    /**
     * 项目单位
     */
    @ApiModelProperty(value = "项目单位", name = "itemUnit", position = 6)
    private String itemUnit;

    /**
     * 项目金额
     */
    @ApiModelProperty(value = "项目金额", name = "itemCharge", position = 7)
    private BigDecimal itemCharge;

    /**
     * 优惠金额
     */
    @ApiModelProperty(value = "优惠金额", name = "discountCharge", position = 8)
    private BigDecimal discountCharge;

    /**
     * 惠民金额
     */
    @ApiModelProperty(value = "惠民金额", name = "benefitCharge", position = 9)
    private BigDecimal benefitCharge;

    /**
     * 实际收费金额
     */
    @ApiModelProperty(value = "实际收费金额", name = "realityCharge", position = 10)
    private BigDecimal realityCharge;

    /**
     * 费用时间
     */
    @ApiModelProperty(value = "费用时间", name = "realityCharge", position = 11)
    @JsonFormat(pattern = yyyy_MM_dd_HH_mm)
    private Date chargeTime;

    /**
     * 是否不可结算
     */
    @ApiModelProperty(value = "是否不可结算", name = "asUnsettled", position = 12)
    private Integer asUnsettled;

    /**
     * 是否结算
     */
    @ApiModelProperty(value = "是否结算", name = "asSettled", position = 13)
    private Integer asSettled;
    /**
     * 版本
     */
    @ApiModelProperty(value = "版本", name = "version", position = 14)
    private Long version;
    /**
     * 接运二维码
     */
    @ApiModelProperty(value = "接运二维码", name = "recCode", position = 15)
    private String recCode;
    /**
     * 物品名称
     */
    @ApiModelProperty(value = "物品名称", name = "itemName", position = 16)
    private String itemName;

    public Integer getId() {
        return id;
    }

    public RecActualItem setId(Integer id) {
        this.id = id;
        return this;
    }

    public Integer getRecId() {
        return recId;
    }

    public RecActualItem setRecId(Integer recId) {
        this.recId = recId;
        return this;
    }

    public Integer getServiceItemId() {
        return serviceItemId;
    }

    public RecActualItem setServiceItemId(Integer serviceItemId) {
        this.serviceItemId = serviceItemId;
        return this;
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public RecActualItem setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
        return this;
    }

    public BigDecimal getItemNumber() {
        return itemNumber;
    }

    public RecActualItem setItemNumber(BigDecimal itemNumber) {
        this.itemNumber = itemNumber;
        return this;
    }

    public String getItemUnit() {
        return itemUnit;
    }

    public RecActualItem setItemUnit(String itemUnit) {
        this.itemUnit = itemUnit;
        return this;
    }

    public BigDecimal getItemCharge() {
        return itemCharge;
    }

    public RecActualItem setItemCharge(BigDecimal itemCharge) {
        this.itemCharge = itemCharge;
        return this;
    }

    public BigDecimal getDiscountCharge() {
        return discountCharge;
    }

    public RecActualItem setDiscountCharge(BigDecimal discountCharge) {
        this.discountCharge = discountCharge;
        return this;
    }

    public BigDecimal getBenefitCharge() {
        return benefitCharge;
    }

    public RecActualItem setBenefitCharge(BigDecimal benefitCharge) {
        this.benefitCharge = benefitCharge;
        return this;
    }

    public BigDecimal getRealityCharge() {
        return realityCharge;
    }

    public RecActualItem setRealityCharge(BigDecimal realityCharge) {
        this.realityCharge = realityCharge;
        return this;
    }

    public Date getChargeTime() {
        return chargeTime;
    }

    public RecActualItem setChargeTime(Date chargeTime) {
        this.chargeTime = chargeTime;
        return this;
    }

    public Integer getAsUnsettled() {
        return asUnsettled;
    }

    public RecActualItem setAsUnsettled(Integer asUnsettled) {
        this.asUnsettled = asUnsettled;
        return this;
    }

    public Integer getAsSettled() {
        return asSettled;
    }

    public RecActualItem setAsSettled(Integer asSettled) {
        this.asSettled = asSettled;
        return this;
    }

    public Long getVersion() {
        return version;
    }

    public RecActualItem setVersion(Long version) {
        this.version = version;
        return this;
    }

    public String getRecCode() {
        return recCode;
    }

    public RecActualItem setRecCode(String recCode) {
        this.recCode = recCode;
        return this;
    }

    public String getItemName() {
        return itemName;
    }

    public RecActualItem setItemName(String itemName) {
        this.itemName = itemName;
        return this;
    }
}
